﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.Data;
using System.Data.SqlClient;
using System.Text;

namespace WebApp
{
    public partial class Web : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
                if (Session["Lock"] == null)
                {
                    Response.Redirect("Login.aspx");
                }
                else
                {
                    string Tno;
                    Tno = Session["Tno"].ToString();
                    this.lblUserName.Text = Tno;
                }
                   
        }

       

       
       
    }
}